package com.zyx.sprintboot01cache.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;

@Data
@TableName(value = "employee")
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
public class Employee implements Serializable {

    private Integer id;

    private String lastName;

    private String email;

    private Integer gender; //性别 1男  0女

    private Integer dId;

}
